Class Blacklist

Summary

Fully Qualified Name: Laminas\Filter\Blacklist
Extends: AbstractFilter

Description

Methods

Name Description Defined By
__construct() Blacklist
__invoke() Invoke filter as a command AbstractFilter
filter() {@inheritDoc} Blacklist
getList() Get the list of items to black-list Blacklist
getOptions() Retrieve options representing object state AbstractFilter
getStrict() Returns whether the in_array() call should be "strict" or not. See in_array docs. Blacklist
hasPcreUnicodeSupport() AbstractFilter
setList() Set the list of items to black-list. Blacklist
setOptions() AbstractFilter
setStrict() Determine whether the in_array() call should be "strict" or not. See in_array docs. Blacklist

Method Details

__construct()

Parameter Name Type Description
$options null|array|\Traversable

Returns:

__invoke()

Invoke filter as a command

Proxies to {@link filter()}

Parameter Name Type Description
$value mixed

Returns: mixed

filter()

{@inheritDoc}

Will return null if $value is present in the black-list. If $value is NOT present then it will return $value.

Parameter Name Type Description
$value

Returns:

getList()

Get the list of items to black-list

Returns: array

getOptions()

Retrieve options representing object state

Returns: array

getStrict()

Returns whether the in_array() call should be "strict" or not. See in_array docs.

Returns: bool

hasPcreUnicodeSupport()

Returns: bool

setList()

Set the list of items to black-list.

Parameter Name Type Description
$list array|\Traversable

Returns:

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: self

setStrict()

Determine whether the in_array() call should be "strict" or not. See in_array docs.

Parameter Name Type Description
$strict bool

Returns:

Top